//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.API;

public class StringDemo {
    public StringDemo() {
    }

    public static void main(String[] args) {
        String s1 = new String("abc");
        String s2 = new String("abc");
        System.out.println(s1 == s2);
        String s3 = "abc";
        String s4 = "abc";
        System.out.println(s3 == s4);
        System.out.println(s1 == s3);
        System.out.println(s1.equals(s4));
        String s5 = "Abc";
        System.out.println(s1.equalsIgnoreCase(s5));
        String s6 = "abc";
        String s7 = "abc";
        String s8 = s7 + "c";
        System.out.println(s6 == s7);
        System.out.println(s6 == s8);
    }
}
